<template>
  <div>
    Store
    <div>从store拿数据</div>
    渲染的数据： {{ data }}
  </div>
</template>

<script>
import '@/store/index.js'
export default {
  data() {
    return {
      data: ''
    }
  },
  mounted() {
    this.data = this.$store.state.go
    // console.log(this.$store)
  }
}
</script>

<style scoped></style>
